<?php

namespace app\store\controller\gifts;
use app\store\controller\Controller;
use app\store\model\UserGifts as UserGiftsModel;

/**
 * 爆品礼物管理控制器
 * Class Goods
 * @package app\store\controller
 */
class UserGifts extends Controller
{
    /**
     * 爆品礼物订单
     * @return mixed
     * @throws \think\exception\DbException
     */
    public function index()
    {
        // 获取全部商品列表
        $model = new UserGiftsModel;
        $list = $model->getList($this->request->param());

        return $this->fetch('index', compact('list'));
    }

}
